home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hydos10 / fc < prev    next >
Text File  |  1991-04-13  |  2KB  |  34 lines

  1.                                      FC
  2.            Compare files and report differences (ascii or binary)
  3.                          See also <COMP> <DISKCOMP>
  4.  
  5. COMMAND TYPE: External                  VERSION: 4.0 and up
  6.  
  7. FC compares two files, or sets of files, and reports the differences
  8. between them.  It is more powerful than <COMP> and may be used with
  9. binary or ascii (text) files.
  10.  
  11. USE:
  12. (ascii) FC [/a][/c][/L][/Lb n][/n][/t][/w][/nnnn][d:]path1 [d:]path2
  13. (bin)   FC [/b][/nnnn] [d:]path1 [d:]path2
  14.  
  15. d: is an optional drive specified for either path1 or path2.  Path1 and
  16.    path2 are the path and filenames of the files to compare
  17. /a abbreviate output of ascii comparison - output only lines that begin
  18.    and end each set of differences.
  19. /b binary compare - byte for byte comparison with no attempt to
  20.    resychronise after a mismatch. This is the default for .exe, .com,
  21.    .lib, .obj, .sys, or .bin type files.
  22. /c ignore case in comparing ascii text
  23. /L compare in ascii mode.  This is default except as noted above.
  24. /Lb n  sets the internal bufffer to n lines (default is 100).  Files which
  25.    have more than this number of consecutive mismatched lines will abort
  26.    the comparison.
  27. /n display line numbers (ascii only)
  28. /t do not expand tabs to spaces.  Default is to treat tabs as spaces to 8
  29.    column positions
  30. /w compress whitespace (multiple tabs or spaces) into a single space
  31.    before comparing
  32. /nnn specified the number of lines that must match after a difference
  33.    before FC considers the files resynchronised (default is 2).
  34.